$(document).ready(function() {
    $.ajaxSetup({
    			url:"http://172.16.214.1/1dv449/en222by/producer/position",
				type: "GET",
				headers: {"Accept":  "text/xml, application/json, application/xhtml+xml", "Content-type":"application/x-www-form-urlencoded"}
				/*url:"http://dev.elinnilsson.nu/producer/position",
				type: "get",
				headers: {"Accept": "text/xml", "Content-type":"application/x-www-form-urlencoded"}*/
				
				});
			$.ajax({
				success: function(data){
					console.log(data);
				},
				error:function(object, error){
					console.log(error);
				}
			});
});
			//data:{'pId':'6000', 'longitude':'10', 'latitude':'15', 'description':'Den här har jag ändrat på '}